0fe602b0936831e82a7dbc43faa703650fabb47f,javasrc/src/org/ccnx/ccn/impl/CCNFlowControl.java,CCNFlowControl,waitForPutDrain,#,374

Before Change


				do {
					_interrupted = false;
					try {
						_holdingArea.wait(_timeout);
					} catch (InterruptedException ie) {
						_interrupted = true;
					}

After Change


				do {
					try {
						long waitTime = _timeout - (System.currentTimeMillis() - startTime);
						if (waitTime > 0)
							_holdingArea.wait(waitTime);
					} catch (InterruptedException ie) {
						keepTrying = true;
					}